package com.demo.statics;


public class CarStaticProxy2 implements Movable{

    private Movable movable;

    CarStaticProxy2(Movable movable){
        this.movable = movable;
    }

    public void move() {
        System.out.println("2从北京出发了");
        movable.move();
        System.out.println("2到开封了");
    }
}
